package com.ruoyi.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考题信息对象 rm_testinfo
 * 
 * @author ruoyi
 * @date 2019-11-26
 */
public class RmTestinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考题id */
    private Long id;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long tid;

    /** 考题类型 */
    @Excel(name = "考题类型")
    private String type;

    /** 考题题干 */
    @Excel(name = "考题题干")
    private String content;

    /** 考题选项 */
    @Excel(name = "考题选项")
    private String chooses;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String anawers;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setChooses(String chooses) 
    {
        this.chooses = chooses;
    }

    public String getChooses() 
    {
        return chooses;
    }
    public void setAnawers(String anawers) 
    {
        this.anawers = anawers;
    }

    public String getAnawers() 
    {
        return anawers;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tid", getTid())
            .append("type", getType())
            .append("content", getContent())
            .append("chooses", getChooses())
            .append("anawers", getAnawers())
            .toString();
    }
}
